﻿#region Librerias

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

#endregion


namespace ESF.General.GUI
{
	public interface IProgressDialog<W>
	{
		#region Members
		
		event Action OnCancel;

		bool WasCancelled { get; }

		bool IsCancelable { set; get; }

		double PercentageAdvance100 { set; }

		bool HideWhenComplete { get; set; }

		string Title { set; }

		string CurrentStepName { set; }

		#endregion


		#region Methods

		void Clear ();

		void Hide ();

		void Show (W pParent);

		#endregion
	}
}
